/**
 * Project Name:mbr-comm
 * File Name:AlgorithmRuntimeException.java
 * Package Name:com.aeye.mbr.common.exception
 * Date:2016年5月10日上午10:29:32
 * Copyright (c) 2016, shengpeng@a-eye.cn All Rights Reserved.
 *
*/

package com.aeye.mbr.common.exception;

import com.aeye.mbr.common.base.constants.ErrorCodeConstants;

/**
 * ClassName:AlgorithmRuntimeException <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2016年5月10日 上午10:29:32 <br/>
 * @author   shengpeng
 * @version  
 * @since    JDK 1.6
 * @see 	 
 */
public class AlgorithmRuntimeException extends RuntimeException{
	/**
	 * serialVersionUID:TODO(用一句话描述这个变量表示什么 )by shengpeng.
	 * @since JDK 1.6
	 */
	private static final long serialVersionUID = 1L;
	private ErrorCodeConstants ec;
	public AlgorithmRuntimeException(ErrorCodeConstants ec) {
		this.ec = ec;
	}
	public ErrorCodeConstants getEc() {
		return ec;
	}
	public void setEc(ErrorCodeConstants ec) {
		this.ec = ec;
	}
}

